xl: Accept a list for usbdevice in config file
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Tue, 2 Apr 2013 14:10:13 +0000 (14:10 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 8 Apr 2013 17:03:05 +0000 (18:03 +0100)
commitc3a2148192705592d38407ba9919eb1eb151a153
treef85139af9c4e6c3d5fd8b90d98eeab087846d25c
parentac16730d0339d41fd7d129a5cb2d40ed67a303d9
xl: Accept a list for usbdevice in config file

Allow the "usbdevice" key to accept a list of USB devices, and pass
them in using the new usbdevice_list domain build element.

For backwards compatibility, still accept singleton values.

Also update the xl.cfg manpage, adding information about how to pass
through host devices.

as applied:
 - Fix trailing whitespace and wrap some lines in xl_cmdimpl.c -iwj
v2:
 - Add some verbiage to make it clear that "usb" is for emulated devices
 - Reference qemu manual for more usbdevice options

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
docs/man/xl.cfg.pod.5
tools/libxl/xl_cmdimpl.c